-
-
Notifications
You must be signed in to change notification settings - Fork 826
✨ Support common pydantic types #723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
23988ad to
08d1fac
Compare
debccf1 to
2a48587
Compare
Hi! Note that Python 3.6 support was recently dropped in 0.11.0. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
Looks great, I'd love to see this get merged! Could we somehow also support custom types defined by users like pydantic? |
Me too 😁
TBH I think this PR covers most of cases we need for now and I prefer to keep it minimalistic to get a chance for it to be merged soon. |
0ac6ec0 to
707839e
Compare
|
@tiangolo Is this PR being considered? |
svlandeg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @lachaib, thanks for this nice work! Really appreciate the detailed tests and documentation as well.
I'm going to spend some time going through this PR in detail - I might leave some more review comments in the process, and might also push a few changes directly to your branch 🙏
|
It looks like this PR is now failing, as we recently added Python 3.12 to the CI. I'll put this in draft while we work on it 🚧 |
tests/test_tutorial/test_parameter_types/test_pydantic_types/test_tutorial001.py
Outdated
Show resolved
Hide resolved
|
@svlandeg thanks for your additions, I'm wondering now what's next for this PR and how may we move forward to merging? |
This comment was marked as outdated.
This comment was marked as outdated.
📝 Docs previewLast commit f7881f4 at: https://d445785f.typertiangolo.pages.dev Modified Pages |
This PR is "functional" as in "it does what was expected"
However, don't hesitate to request more tests, docs, or improvements on the code if needed to fit with the current standards
Fixes #181